package com.caigou.modules.data.adpter

import com.caigou.modules.data.R
import com.caigou.modules.data.bean.AllYearItemBean
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

/**
 * @author #Suyghur.
 * Created on 2021/12/29
 */
class AllYearItemAdapter(dataset: MutableList<AllYearItemBean>) : BaseQuickAdapter<AllYearItemBean, BaseViewHolder>(R.layout.item_all_year_list, dataset) {

    override fun convert(holder: BaseViewHolder, item: AllYearItemBean) {
        holder.setText(R.id.item_all_year_tv_title, item.title)
    }
}